Create a 3-Stage Clos Fabric

You can create a 3-stage Clos fabric.

About this task

Use this procedure to create a 3-stage Clos fabric.

Procedure

Run the following command to create a 3-stage Clos fabric:
$ efa fabric create --name fabric1 --stage 3
$ efa fabric device add-bulk --name fabric1 --username admin --password password 
             --spine 10.17.112.221,10.17.112.222  --border-leaf 10.17.112.225-226 --leaf 10.17.112.223-224

$ efa fabric configure --name fabric1
$ efa fabric show --name fabric1
Fabric Name: fabric1, Fabric Description: , Fabric Stage: 3, Fabric Type: clos, Fabric Status: configure-success
+---------------+---+------+-------+-----------+------------+-----------+-----------+--------+-----+----+
|  IP ADDRESS   |POD| HOST |  ASN  |   ROLE    |DEVICE STATE| APP STATE | CONFIG GEN| PENDING| VTLB| LB |
|               |   | NAME |       |           |            |           | REASON    | CONFIGS| ID  | ID |
+---------------+---+------+-------+-----------+------------+-----------+-----------+--------+-----+----+
| 10.17.112.221 |   | SP1  | 64512 |spine      |provisioned |cfg in-sync| NA        | NA     | NA  | 1  |
| 10.17.112.222 |   | SP2  | 64512 |spine      |provisioned |cfg in-sync| NA        | NA     | NA  | 1  |
| 10.17.112.223 |   | L11  | 65000 |leaf       |provisioned |cfg in-sync| NA        | NA     | 2   | 1  |
| 10.17.112.224 |   | L12  | 65000 |leaf       |provisioned |cfg in-sync| NA        | NA     | 2   | 1  |
| 10.17.112.225 |   | BL21 | 66000 |borderleaf |provisioned |cfg in-sync| NA        | NA     | 2   | 1  |
| 10.17.112.226 |   | BL22 | 66000 |borderleaf |provisioned |cfg in-sync| NA        | NA     | 2   | 1  |
+---------------+---+------+-------+-----------+------------+-----------+-----------+--------+-----+----+